package punctuatedEquilibrium;

public class TraitFactory {

	private static final int	ZERO					= 0;
	private static final double	INITIAL_TRAIT_VALUE_01	= 2;
	private static final double	INITIAL_TRAIT_VALUE_02	= 4;
	private static final double	INITIAL_TRAIT_VALUE_03	= 1;

	public static Double[] getArrayOfTraitValues() {
		Double[] traitArray = new Double[3];
		traitArray[0] = INITIAL_TRAIT_VALUE_01;
		traitArray[1] = INITIAL_TRAIT_VALUE_02;
		traitArray[2] = INITIAL_TRAIT_VALUE_03;
		return traitArray;
	}

	public static Trait[] getArrayOfTraits() {
		Trait traitOne = new Trait(INITIAL_TRAIT_VALUE_01);
		Trait traitTwo = new Trait(INITIAL_TRAIT_VALUE_02);
		Trait traitThree = new Trait(INITIAL_TRAIT_VALUE_03);
		Trait[] traitArray = new Trait[3];
		traitArray[0] = traitOne;
		traitArray[1] = traitTwo;
		traitArray[2] = traitThree;
		return traitArray;
	}

	public static Trait[] getTraitsOfValueZero() {
		Trait traitOne = new Trait(ZERO);
		Trait[] traitArray = new Trait[3];
		traitArray[0] = traitOne;
		traitArray[1] = traitOne;
		traitArray[2] = traitOne;
		return traitArray;
	}
}
